##
## Makefile for  in /home/jousse_f//afs/rendu/math/103interpol
## 
## Made by florian jousseau
## Login   <jousse_f@epitech.net>
## 
## Started on  Tue Mar  1 13:43:47 2011 florian jousseau
## Last update Tue Mar  1 18:25:24 2011 florian jousseau
##

NAME=	103interpol

CC=	cc -W -Wall -pedantic -ansi

SRC=	main.c \
	axe_y.c \
	axe_x.c \
	init.c \
	algo.c \
	aff_pos.c

OBJ=	$(SRC:.c=.o)

LDFLAGS= -L /usr/local/lib -lmlx -L /usr/lib/ -lX11 -lXext -L ~/afs/rendu/lib/ -lmy -L ~/afs/rendu/c/my_printf/ -lmy_printf_i686-Linux

IFLADS= -I /usr/local/include/

$(NAME):	$(OBJ)
	$(CC) -o $(NAME) $(OBJ) $(IFLAGS) $(LDFLAGS)

all:	$(NAME)

clean:
	rm -f $(OBJ)

fclean:
	rm -f $(OBJ)
	rm -f $(NAME)

re:	fclean all

y:	fclean all clean
	clean